package com.situ.orderingsystem.dao;

import com.situ.orderingsystem.model.Employee;
import com.situ.orderingsystem.model.EmployeeSerchBean;
import com.situ.orderingsystem.model.Kind;
import com.situ.orderingsystem.model.KindSearchBean;
import com.situ.orderingsystem.utils.PaginateInfo;

import java.util.List;

public interface KindDao {
    List<Kind> findAll(KindSearchBean es, PaginateInfo pi);
    List<Kind> findAll();
    List<Kind> findCombo();
    boolean deleteById(Integer id);
    int add(Kind employee);
    Kind searchById(Integer id);
    int update(Kind employee);
}
